package com.goods.business.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

public interface ConsumerService {
    List<ConsumerVO> findConsumerList(String address, String contact, String name);

    void add(Consumer consumer);

    Consumer edit(Long id);

    void update(Long id,Consumer consumer);

    void delete(Long id);


    //PageVO<ConsumerVO> findConsumerList(Integer pageNum, Integer pageSize, ConsumerVO consumerVO);
}
